﻿using System;
using UnityEngine;

// Token: 0x02000150 RID: 336
public class IK_Data
{
	// Token: 0x060008A9 RID: 2217 RVA: 0x00032774 File Offset: 0x00030974
	public IK_Data(string ikChara, string ikPart, string targetChara, string targetPart)
	{
		this.ikChara = ikChara;
		this.ikPart = this.LoadIKPart(ikPart);
		this.targetChara = targetChara;
		this.targetPart = targetPart;
	}

	// Token: 0x060008AA RID: 2218 RVA: 0x000327A0 File Offset: 0x000309A0
	private IK_Data.PART LoadIKPart(string name)
	{
		if (name == "handL")
		{
			return IK_Data.PART.HAND_L;
		}
		if (name == "handR")
		{
			return IK_Data.PART.HAND_R;
		}
		if (name == "footL")
		{
			return IK_Data.PART.FOOT_L;
		}
		if (name == "footR")
		{
			return IK_Data.PART.FOOT_R;
		}
		if (name == "tin")
		{
			return IK_Data.PART.TIN;
		}
		if (name == "mouth")
		{
			return IK_Data.PART.MOUTH;
		}
		GlobalData.Debug_LogError("不明なIK箇所:" + name);
		return IK_Data.PART.TIN;
	}

	// Token: 0x04000839 RID: 2105
	public string ikChara;

	// Token: 0x0400083A RID: 2106
	public IK_Data.PART ikPart;

	// Token: 0x0400083B RID: 2107
	public string targetChara;

	// Token: 0x0400083C RID: 2108
	public string targetPart;

	// Token: 0x02000151 RID: 337
	public enum PART
	{
		// Token: 0x0400083E RID: 2110
		HAND_L,
		// Token: 0x0400083F RID: 2111
		HAND_R,
		// Token: 0x04000840 RID: 2112
		FOOT_L,
		// Token: 0x04000841 RID: 2113
		FOOT_R,
		// Token: 0x04000842 RID: 2114
		TIN,
		// Token: 0x04000843 RID: 2115
		MOUTH
	}
}
